<template>
    <div class="noData">
        <div class='content'>
            <div class='noDataIconBox noData_bg'>
                <image class='noDataIcon' src="http://cdn.rzico.com/v4.0/footprint-none.png"></image>
            </div>
            <text class='noDataText'>{{noDataText}}</text>
            <div class="btn noDataButton" @click="noDataClick" v-if="haveBtn">
					<text class="noDataButton-text">去逛逛</text>
				</div>
        </div>
    </div>
</template>

<script>
    export default {
        data() {
            return {}
        },
        props: {
            
            haveBtn:{
               default:false
            },
            btnUrl:{
                default:""
            },
            noDataText:{
                default:""
            },
        },
        methods: {
            noDataClick(){
                //跳转到首页
            }
        }
    }
</script>

<style scoped>
    .noData {
        min-height: 400px;
        flex: 1;
        width: 750px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 60px 0;
    }

    .loading {
        width: 120px;
        height: 120px;
    }

    .noDataImg {
        width: 200px;
        height: 200px;
    }

    .noDataIconBox {
        width: 230px;
        height: 230px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .noDataIcon {
        opacity: 0.7;
        width: 196px;
        height: 131px;
    }

    .noDataText {
        font-size: 28px;
        color: #888;
    }

.noDataButton{
    margin-top: 30px;
    background-image: linear-gradient(to top, #ff560c, #fe8003);
  height: 60px;
  width: 230px;
  border-radius: 30px;
}

.noDataButton-text {
  line-height: 60px;
  text-align: center;
  font-size: 30px;
  font-weight: normal;
  color: #fff;
}
    

</style>
